package com.blunka.framework.client.ui;

import java.awt.GridLayout;

import javax.swing.JLabel;
import javax.swing.JPanel;

import com.blunka.framework.client.db.druid.DBSQLService;

/**
 * 状态栏
 * @author Administrator
 *
 */
public class StatusBar extends JPanel{

	private static StatusBar statusBar = new StatusBar();

	public static StatusBar newInstance(){
		return statusBar;
	}

	private StatusBar(){
		this.setLayout(new GridLayout(1,4));
		this.add(new JLabel("业务版本：【"+DBSQLService.getLocalDBService().getDBVersion()+"】"));
		this.add(new JLabel("服务器：【"+DBSQLService.getDBService().getDBServerIP()+"】"));
		this.add(new JLabel("新版本提示：【无】"));
		this.add(new JLabel("BKFM开源系统版权所有【"+DBSQLService.getLocalDBService().getDBVersion()+"】"));
	}
}
